package com.example.badmintonCommon.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//订单类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private String oderId;
    private String tel;
    private int oderPlace;
    private String  playDay;
    private String playTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date oderTime;

    private String oderStatus;
}
